
import { Post, Prefix } from 'egg-shell-decorators';
import BaseController from '../../base';


@Prefix('api/v1/article')
export default class UserController extends BaseController {

  @Post('/getcha')
  public async login() {
    const { ctx } = this;
    const user = ctx.request.body;
    return this.success(user);

  }


}
